import request from '@/utils/request'

// 查询一条数据
export const getWorkspace = () => request.get('/manager/workspace')

// 获取树状机构信息
export const getTree = () => request.get('/manager/business-hall/tree')

// 获取员工分页数据
export const staffPagingData = (params) => request.get('/manager/business-hall/user/page', { params })

// 获取机构详情
export const organizationParticulars = (id) => request.get(`/manager/business-hall/${id}`)

